<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ include file="/pages/common/taglibs.jsp"%>
<!--[if IE 6]><div id="ie6" class="ie"><![endif]-->
<!--[if IE 7]><div id="ie7" class="ie"><![endif]-->
<%-- <tiles:insertAttribute name="header" />
	<div class="main fix">
		<tiles:insertAttribute name="content" />
	</div>
	<tiles:insertAttribute name="footer" /> --%>
<!--[if lte IE 7]></div><![endif]-->
<script type="text/javascript"
	src="${ctx}/pages/templete/js/validate/entrustpay/transApi.js?v=11"></script>
<script type="text/javascript">
	var ctx = '${ctx}';
</script>
<form id="payForm" name="payForm"
	action="${ctx}/entrustPay/doTransApi.do" method="post" target="_blank">
	<table width="100%" class="formTable">
		<tr>
			<td width="35%" align=right>版本号:</td>
			<td align=left width="45%">&nbsp;&nbsp;
			<input type="text" id="version" name="version" value="${transInfo.version}" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="versionTip"></span></td>
		</tr>
		<tr>
			<td width="30%" align=right>交易代码:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="tranCode" name="tranCode" value="DS05" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="tranCodeTip"></span></td>
		</tr>
		<tr>
			<td width="30%" align=right>字符集:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="charset" name="charset" value="1" size="50" />
			</td>
			<td width="25%" align=left></td>
		</tr>
		<tr>
			<td width="30%" align=right></td>
			<td align=left width="45%">&nbsp;&nbsp;1:GBK,2:UTF-8 (不填则当成1处理)
				<td width="25%" align=left></td>
		</tr>
		<tr>
			<td width="30%" align=right>语言种类:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="language" name="language" value="1" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="languageTip"></span></td>
		</tr>
		<tr>
			<td width="30%" align=right></td>
			<td align=left width="45%">&nbsp;&nbsp;1:ZH,2:EN
				<td width="25%" align=left></td>
		</tr>
		<tr>
			<td width="30%" align=right>签名类型:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="signType" name="signType" value="1" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font></td>
		</tr>
		<tr>
			<td width="30%" align=right></td>
			<td align=left width="45%">&nbsp;&nbsp;1:MD5,2:SHA,3,API
				<td width="25%" align=left></td>
		</tr>
		<tr>
			<td width="30%" align=right>交易时间:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="tranDateTime" name="tranDateTime"
				value="${transInfo.tranDateTime}" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="tranDateTimeTip"></span></td>
		</tr>
		<tr>
			<td width="30%" align=right>国付宝服务器时间:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="gopayServerTime" name="gopayServerTime"
				value="${transInfo.gopayServerTime}" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="gopayServerTimeTip"></span></td>
		</tr>
		<tr>
			<td width="30%" align=right>商户ID:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="merchantID" name="merchantID" value="${transInfo.merchantID}"
				size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="merchantIDTip"></span></td>
		</tr>
		<tr>
			<td width="30%" align=right>转入账户:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="virCardNoIn" name="virCardNoIn" value="${transInfo.virCardNoIn}"
				size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="virCardNoInTip"></span></td>
		</tr>
		<tr>
			<td width="30%" align=right>商户订单号:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="merOrderNum" name="merOrderNum" value="" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="merOrderNumTip"></span></td>
		</tr>
		<tr>
			<td width="30%" align=right>交易金额:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="merTranAmt" name="merTranAmt" value="0.01" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="tranAmtTip"></span></td>
		</tr>
		<tr>
			<td width="30%" align=right>币种:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="currencyType" name="currencyType"
				value="${transInfo.currencyType}" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="currencyTypeTip"></span></td>
		</tr>
		<tr>
			<td width="30%" align=right>商品名称:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="goodsName" name="goodsName" value="${transInfo.goodsName}" size="50" />
			</td>
			<td width="25%" align=left></td>
		</tr>
		<tr>
			<td width="30%" align=right>商品描述:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="goodsInfo" name="goodsInfo" value="${transInfo.goodsInfo}" size="50" />
			</td>
			<td width="25%" align=left></td>
		</tr>
		<tr>
			<td width="30%" align=right>商户备用字段1:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="merRemark1" name="merRemark1" value="${transInfo.merRemark1}" size="50" />
			</td>
			<td width="25%" align=left></td>
		</tr>
		<tr>
			<td width="30%" align=right>用途摘要:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="merRemark3" name="merRemark3" value="${transInfo.merRemark3}" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="merRemark3Tip"></span></td>
		</tr>
		<tr>
			<td width="30%" align=right>订单禁止重复提交标志:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="isRepeatSubmit" name="isRepeatSubmit" value="1" size="50" />
			</td>
			<td width="25%" align=left></td>
		</tr>
		<tr>
			<td width="30%" align=right></td>
			<td align=left width="45%">&nbsp;&nbsp;0:不允许,1:允许 (不填则当成1处理)</td>
			<td width="25%" align=left></td>
		</tr>
		<tr>
			<td width="30%" align=right>委托授权编号:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="contractNo" name="contractNo" value="${transInfo.contractNo}" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font></td>
		</tr>
		<tr>
			<td align=right>商户后台通知地址:</td>
			<td>
				<input type="text" id="backgroundMerUrl" name="backgroundMerUrl" value="${transInfo.backgroundMerUrl}" style="width:450px;"/>
			</td>
			<td width="25%" align=left>
				<font color=red>*</font>
				<span id="merURLTip"></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align=right>商户识别码:</td>
			<td align=left width="45%">&nbsp;&nbsp; <input type="text"
				id="verficationCode" name="verficationCode"
				value="${sessionScope.gopay_webtest_key}" size="50" />

			</td>
			<td width="25%" align=left><font color=red>*</font></td>
		</tr>
		<tr>
			<td colspan="3">
				<table width="100%">
					<tr>
						<td colspan=2>&nbsp;
							<td width="25%" align=left></td>
					</tr>
					<tr>
						<td colspan=2 width="100%">
							<center>
								<input type="button" value="设置默认值" id="defButton"
									name="defButton">&nbsp;&nbsp;&nbsp;&nbsp; <input
									type="button" name="submitBtn" id="submitBtn" value="提交" />
							</center>
						</td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
</form>

